import request from "@/utils/back-request";

export function getRegionSalaryList(params) {
  return request({
    url: "/api-career/data/center/salary",
    method: "get",
    params,
  });
}
export function getRegionSalaryListExport(params) {
  return request({
    url: "/api-career/data/center/salaryExpport",
    method: "get",
    responseType: "blob",
    params,
  });
}
export function getRegionSalaryTotalData(params) {
  return request({
    url: "/api-career/data/center/regionSalaryTotalData",
    method: "get",
    params,
  });
}
export function getWorkSalaryList(params) {
  return request({
    url: "/api-career/data/center/salaryExp",
    method: "get",
    params,
  });
}
export function getWorkSalaryListExport(params) {
  return request({
    url: "/api-career/data/center/salaryWorkYearExport",
    method: "get",
    responseType: "blob",
    params,
  });
}
export function getWorkSalaryTotalData(params) {
  return request({
    url: "/api-career/data/center/workSalaryTotalData",
    method: "get",
    params,
  });
}
export function getEducationSalaryList(params) {
  return request({
    url: "/api-career/data/center/education",
    method: "get",
    params,
  });
}
export function getEducationSalaryListExport(params) {
  return request({
    url: "/api-career/data/center/educationExport",
    method: "get",
    responseType: "blob",
    params,
  });
}
export function getEducationSalaryTotalData(params) {
  return request({
    url: "/api-career/data/center/educationSalaryTotalData",
    method: "get",
    params,
  });
}
export function getExpectSalaryList(params) {
  return request({
    url: "/api-career/data/center/expectSalary",
    method: "get",
    params,
  });
}
export function getExpectSalaryListExport(params) {
  return request({
    url: "/api-career/data/center/expectSalaryExport",
    method: "get",
    responseType: "blob",
    params,
  });
}
export function getPromotionSalaryList(params) {
  return request({
    url: "/api-career/data/center/promotion",
    method: "get",
    params,
  });
}
export function getPromotionSalaryListExport(params) {
  return request({
    url: "/api-career/data/center/promotionExport",
    method: "get",
    responseType: "blob",
    params,
  });
}
export function getSimilarJobSalaryList(params) {
  return request({
    url: "/api-career/data/center/similarJob",
    method: "get",
    params,
  });
}
export function getSimilarJobSalaryListExport(params) {
  return request({
    url: "/api-career/data/center/similarJobExport",
    method: "get",
    responseType: "blob",
    params,
  });
}
export function getAverageSalary(params) {
  return request({
    url: "/api-career/data/center/averageSalary",
    method: "get",
    params,
  });
}
export function getTrend(params) {
  return request({
    url: "/api-career/data/center/position/trend",
    method: "get",
    params,
  });
}
export function getHotCity(params) {
  return request({
    url: "/api-career/data/center/hotCity",
    method: "get",
    params,
  });
}
export function chartRegionSalary(params) {
  return request({
    url: "/api-career/chart/salary/region",
    method: "post",
    params,
    data: params,
  });
}
export function chartTop10Salary(params) {
  return request({
    url: "/api-career/chart/salary/top10",
    method: "post",
    params,
    data: params,
  });
}
export function chartExperienceSalary(params) {
  return request({
    url: "/api-career/chart/salary/experience",
    method: "post",
    params,
    data: params,
  });
}
export function chartEducationSalary(params) {
  return request({
    url: "/api-career/chart/salary/education",
    method: "post",
    params,
    data: params,
  });
}
export function chartAverageSalary(params) {
  return request({
    url: "/api-career/chart/salary/average",
    method: "post",
    params,
    data: params,
  });
}
// 薪酬区间
export function getSalarySection(params) {
  return request({
    url: "/api-career/chart/salary/section",
    method: "post",
    data: params,
  });
}
// 工作经验
export function getSalaryWorkYear(params) {
  return request({
    url: "/api-career/position/rel/getSalaryWorkYear",
    method: "post",
    data: params,
  });
}
// 学历
export function getSalaryEducation(params) {
  return request({
    url: "/api-career/position/rel/getSalaryEducation",
    method: "post",
    data: params,
  });
}
// 修改工作经验编辑
export function updateExprience(params) {
  return request({
    url: "/api-career/homepage/exp/update",
    method: "post",
    data: params,
  });
}
// 修改学历编辑
export function updateEducation(params) {
  return request({
    url: "/api-career/homepage/edu/update",
    method: "post",
    data: params,
  });
}
// 修改地区编辑
export function updateRegion(params) {
  return request({
    url: "/api-career/homepage/region/update",
    method: "post",
    data: params,
  });
}
// 职位热度趋势图
export function getRecruitheat(params) {
  return request({
    url: "/api-career/chart/heat",
    method: "post",
    data: params,
  });
}
// 柱状图
export function positionSalaryHistogram(params) {
  return request({
    url: "/api-career/positionSalary/histogram",
    method: "post",
    data: params,
  });
}
// 趋势图
export function positionSalaryTrends(params) {
  return request({
    url: "/api-career/positionSalary/trends",
    method: "post",
    data: params,
  });
}
// 行业列表-(以前默认的)
export function positionSalaryIndustry(params) {
  return request({
    url: "/api-career/positionSalary/industry",
    method: "post",
    data: params,
  });
}
// 行业列表-（行业薪酬变化）
export function positionSalaryChangeIndustry(params) {
  return request({
    url: "/api-career/positionSalary/salary/industry",
    method: "post",
    data: params,
  });
}
// 行业列表-（学历/工作经验-行业列表）
export function positionEduIndustry(params) {
  return request({
    url: "/api-career/positionSalary/edu/industry",
    method: "post",
    data: params,
  });
}
// 行业列表-（热度行业列表）
export function positionHeatIndustry(params) {
  return request({
    url: "/api-career/positionSalary/heat/industry",
    method: "post",
    data: params,
  });
}
export function reportLackDataPosition(params) {
  return request({
    url: "/api-career/homepage/report/lack/data/position",
    method: "post",
    params,
    data: params,
  });
}
// 等级薪酬
export function getPositionGradeSalary(params) {
  return request({
    url: "/api-career/position/rel/get/grade/salary",
    method: "post",
    data: params,
  });
}
